package com.jdjc.wx;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 微信微服务启动类
 */
@SpringBootApplication
@ComponentScan("com.jdjc")//@ComponentScan 告诉Spring扫描指定的包及其子包，寻找带有 @Component、@Service、@Repository 或 @Controller 注解的类，并将它们作为bean注册到Spring上下文中。
public class WxApplication {
    public static void main(String[] args) {
        SpringApplication.run(WxApplication.class, args);
    }
}
